﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcApplication1.Models;

namespace MvcApplication1.Controllers
{
    public class Default1Controller : Controller
    {
        private SUPSEntities db = new SUPSEntities();
        //
        // GET: /Default1/

        public ActionResult Index()
        {
            //MvcApplication1.Models.GetCargo_Result res = new GetCargo_Result();
            var results = (from result in db.GetDislocation() select result).ToList();
            return View(results);
        }

    }
}
